/status/app/proxy/virtualServer//serviceHttp/persistSourceIp/cache¶
Use
Use to view the system cache for source IP persistence.
Note: Using this command may have a performance impact on connections through the specified virtual server.
The cache may contain a large number of entries and may take several seconds to display.
Using the CLI, you can redirect the output to a file using a bash command that runs the F5® LineRate® shell in non-interactive mode. For example:
bash
echo “show virtual-server vsfoo persist source-ip cache” | lros_shell -n > <file_path>
Parameters¶
name: Name of virtual server object
Data Key¶
The data key contains a JSON object containing an array with source IP persistence cache entries. Each array entry is a JSON object containing the following fields:
- “ip”–type=string, client IP address
- “rs”–type=string, real-server name
- “to”–type=number, seconds before entry will time out
Example:
“data”: {
“cacheEntries”: [
{ “ip”: “192.168.1.1”,
“rs”: “rs1”,
“to”: 1
},
{ “ip”: “192.168.1.2”,
“rs”: “rs2”,
“to”: 3
}
]
}
Data Type¶
json
Default Data Value¶
0
Request Methods¶
GET
Examples¶
GET
curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/status/app/proxy/virt ualServer/vs-01/serviceHttp/persistSourceIp/cache
GET Response
{"/status/app/proxy/virtualServer/vs-01/serviceHttp/persistSourceIp/cache":{"default":false,
"type":"null",
"data":null,
"numChildren":0,
"defaultAllowed":false,
"deleteAllowed":false,
"sensitive":false},
"httpResponseCode":200,
"requestPath":"/status/app/proxy/virtualServer/vs-01/serviceHttp/persistSourceIp/cache",
"recurse":false}
- /status/app/proxy/virtualServer/
/serviceHttp/persistSourceIp/cache 1. Parameters 2. Data Key - Data Type
- Default Data Value 3. Request Methods 4. Related 5. Examples